calculation of the national income